<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试文件上传和下载</title>
</head>
<body>
<!--<a th:href="@{/testDown}">下载GG.jpg</a>-->
<form th:action="@{/testUp}" method="post" enctype="multipart/form-data">
    上传：<input type="file" name="photo"><br/>
    <input type="submit" value="上传">

</form>
</body>
</html>